package asia.lxq.cic;

import asia.lxq.cic.config.GlobalConfig;
import asia.lxq.cic.util.SystemUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan
public class CampusInfoCenterApplication {

	public static void main(String[] args) {
		if (SystemUtil.getOsName()!= SystemUtil.OSEnum.WINDOWS) {
			GlobalConfig.CIC_ROOT="/cic/";
		}
		SpringApplication.run(CampusInfoCenterApplication.class, args);
	}

}
